<template>
  <div id="app">
    <!-- <UserView/> -->

    <nav>
      <router-link to="/" tag="span">Home</router-link> |
      <router-link to="/about" tag="span">About</router-link> |
      <router-link to="/user" tag="span">User</router-link>
    </nav>
    <router-view/>
  </div>
</template>

<script>
// import UserView from './views/UserView.vue'

export default {
  components: {
    // UserView
  }
}
</script>

<style lang="less">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

nav {
  padding: 30px;

  span {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
